<h2>登记编号<?php echo $model->reg_no; ?>的尾板信息</h2>

<div class="actionBar1">
<?php 
	if(isset($_GET['ok'])) {if($_GET['ok']==0) $mess='添加成功！'; else $mess='更新成功！';unset($_GET['ok']);}//判断添加/更新信息
	$act=isset($_GET['ret'])?$_GET['ret']:$ret;//判断show以后返回路径
	unset($_GET['ret']);unset($_GET['id']);
	$url=array($act)+$_GET;
?>
[<?php echo CHtml::link('返回',$url); ?>]
</div>

<table class="dataGrid"  width= "80%">
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('reg_no')); ?>
</th>
    <td><?php echo CHtml::encode($model->reg_no); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('plate_no')); ?>
</th>
    <td><?php echo CHtml::encode($model->plate_no); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('truck_plate_no')); ?>
</th>
    <td><?php echo CHtml::encode($model->truck_plate_no); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('property_owner')); ?>
</th>
    <td><?php echo CHtml::encode($model->property_owner); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('reg_date')); ?>
</th>
    <td><?php echo CHtml::encode($model->reg_date); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('type')); ?>
</th>
    <td><?php echo CHtml::encode($model->type); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('brand')); ?>
</th>
    <td><?php echo CHtml::encode($model->brand); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('type_id')); ?>
</th>
    <td><?php echo CHtml::encode($model->type_id); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('body_color')); ?>
</th>
    <td><?php echo CHtml::encode($model->body_color); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('frame_no')); ?>
</th>
    <td><?php echo CHtml::encode($model->frame_no); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('scrap_date')); ?>
</th>
    <td><?php echo CHtml::encode($model->scrap_date); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('engine_no')); ?>
</th>
    <td><?php echo CHtml::encode($model->engine_no); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('engine_type_id')); ?>
</th>
    <td><?php echo CHtml::encode($model->engine_type_id); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('fuel_type')); ?>
</th>
    <td><?php echo CHtml::encode($model->fuel_type==0?'柴油':'汽油'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('displacement_power')); ?>
</th>
    <td><?php echo CHtml::encode($model->displacement_power); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('manufacturer')); ?>
</th>
    <td><?php echo CHtml::encode($model->manufacturer); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('steering_type')); ?>
</th>
    <td><?php echo CHtml::encode($model->steering_type); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('tire_distance')); ?>
</th>
    <td><?php echo CHtml::encode($model->tire_distance); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('tire_num')); ?>
</th>
    <td><?php echo CHtml::encode($model->tire_num); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('tire_format')); ?>
</th>
    <td><?php echo CHtml::encode($model->tire_format); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('leaf_spring_num')); ?>
</th>
    <td><?php echo CHtml::encode($model->leaf_spring_num); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('wheelbase')); ?>
</th>
    <td><?php echo CHtml::encode($model->wheelbase); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('wheel_distince')); ?>
</th>
    <td><?php echo CHtml::encode($model->wheel_distince); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('gabarite')); ?>
</th>
    <td><?php echo CHtml::encode($model->gabarite); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('container_immer_dimensions')); ?>
</th>
    <td><?php echo CHtml::encode($model->container_immer_dimensions); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('origin')); ?>
</th>
    <td><?php echo CHtml::encode($model->origin==0?'国产':'进口'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('total_weight')); ?>
</th>
    <td><?php echo CHtml::encode($model->total_weight); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('rated_loading_weight')); ?>
</th>
    <td><?php echo CHtml::encode($model->rated_loading_weight); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('rated_passenger_capacity')); ?>
</th>
    <td><?php echo CHtml::encode($model->rated_passenger_capacity); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('total_traction_weight')); ?>
</th>
    <td><?php echo CHtml::encode($model->total_traction_weight); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('passenger_capacity_of_cap')); ?>
</th>
    <td><?php echo CHtml::encode($model->passenger_capacity_of_cap); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('use_naure')); ?>
</th>
    <td><?php echo CHtml::encode($model->use_naure); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('obtain_way')); ?>
</th>
    <td><?php echo CHtml::encode($model->obtain_way); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('manufacture_date')); ?>
</th>
    <td><?php echo CHtml::encode($model->manufacture_date); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('depreciation')); ?>
</th>
    <td><?php echo CHtml::encode($model->depreciation); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('total_cost')); ?>
</th>
    <td><?php echo CHtml::encode($model->total_cost); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('create_time')); ?>
</th>
    <td><?php echo CHtml::encode($model->create_time); ?>
</td>
</tr>
</table>
<?php if(isset($mess)) echo "<script>alert('$mess');</script>";?>
<div class="actionBar1">[<?php echo CHtml::link('返回',$url); ?>]
</div>